﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using DomainInfoLib;

namespace DomainInfoDigger
{
    public class DicLoader
    {
        static private System.Windows.Forms.OpenFileDialog openFileDialog1=new OpenFileDialog();

        public static IList<string> GetFilesList()
        {
            openFileDialog1.Multiselect = true;
            if (openFileDialog1.ShowDialog() == DialogResult.OK)
            {
                string[] pathes = openFileDialog1.FileNames;

                List<string> paramsList = BaseInfo.GetParamsFromFiles(pathes);

                return paramsList;
            }

            return null;
        }
    }
}
